package com.errol.generic.baiducloud.portraitai.pojo;

/**
 * 人像分割类型
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2020/09/21
 * @since v
 **/
public enum BaiduPortraitSegmentTypeEnum {

    /**
     * 二值图像，需二次处理方能查看分割效果
     */
    LABEL_MAP("labelmap"),
    /**
     * 人像前景灰度图
     */
    SCORE_MAP("scoremap"),
    /**
     * 人像前景抠图，透明背景
     */
    FOREGROUND("foreground"),
    ;

    private final String typeParam;

    BaiduPortraitSegmentTypeEnum(String typeParam) {
        this.typeParam = typeParam;
    }

    public String getTypeParam() {
        return typeParam;
    }
}
